{% extends "scan/base.html" %}
{% block js %}
{{ form.media }}
{% endblock %}
{% block body_main %}
   <form enctype="multipart/form-data" action="" method="POST">
	{% csrf_token %}
	<table border="1">
		<caption> Новый скан </caption>
		{{ form.as_table }}
	</table>
	<button type="submit"> Записать </button>
	<a href="{% url scan.views.scan_list %}"> <button type="button"> Отказаться </button> </a>
   </form>
{% endblock %}
